package com.ruoyi.manufacturer;

/**
 * 常用反控指令
 */
public enum ControlCommand {
    START("start", "启动"),
    STOP("stop", "停止"),
    SET("set", "配置"),
    STREAM("play", "拉流"),
    RECORDS("records", "查询历史记录"),
    RECORD("playback", "查询回放流"),
    QUERY("query", "业务查询"),
    CUST("cust", "自定义"),
    ;

    private String code;
    private String name;

    ControlCommand(String code, String name){
        this.code = code;
        this.name = name;
    }
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
